import Home from '../pages/home'
import Cart from '../pages/cart'
import Person from '../pages/person'
import Setting from '../pages/setting'



export default routes = [
    {
        name:'root',
        type:'tab',
        initial:true,
        childrens:[
            {
                name:'home',
                component:Home,
                type:'scene',
                initial:true,
                title:'home'
            },
            {
                name:'cart',
                component:Cart,
                type:'scene',
                title:'cart'
            },
            {
                name:'person',
                component:Person,
                type:'scene',
                title:'person'
            }
        ]
    },
    {
        name:'modal',
        type:'modal',
        childrens:[
            {
                name:'modal1',
                component:Home,
                type:'scene',
                initial:true,
                title:'home'
            },
            {
                name:'modal2',
                component:Cart,
                type:'scene',
                title:'cart'
            },
            {
                name:'modal3',
                component:Person,
                type:'scene',
                title:'person'
            }
        ]
    },
    {
        name:'light',
        type:'light',
        childrens:[
            {
                name:'light1',
                component:Home,
                type:'scene',
                initial:true,
                title:'home'
            },
            {
                name:'light2',
                component:Cart,
                type:'scene',
                title:'cart'
            },
            {
                name:'light3',
                component:Person,
                type:'scene',
                title:'person'
            }
        ]
    }
]